package com.ruoyi.worker.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

/**
 * 描述:临时工工资修改流水 实体类
 *
 * @author 刘松山
 * @date 2021/12/23 13:53
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DailySalaryModifyLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 修改临时工工资流水表主键 */
    private Long id;

    /** 临时工名称 */
    @Excel(name = "临时工名称")
    private String workerName;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idCard;

    /** 修改前工资 */
    @Excel(name = "原工资")
    private Double salary;

    /** 修改后工资 */
    @Excel(name = "修改后工资")
    private Double newSalary;

    /** 考勤状态 */
    @Excel(name = "考勤状态")
    private Integer attendanceStatus;

    /** 临时工工资表id */
    @Excel(name = "临时工工资表id")
    private Long salaryDailyId;

    /** 用工时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "用工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date workingDate;
}
